package com.website.view
{
	import com.website.view.component.PicItem;
	
	import flash.display.Sprite;

	public class PicListPanel extends Sprite
	{
		private var itemArr:Array;
		public function PicListPanel()
		{
			createItem();
		}
		
		private function createItem():void
		{
			itemArr = new Array();
			for (var i:int = 0; i < 6; i++)
			{
				var picItem:PicItem = new PicItem();
				itemArr.push(picItem);
				picItem.loadImage("img/14 (" + i + ").jpg");
				picItem.x = i * 150;
				addChild(picItem);
			}
		}	
	}
}